package com.study.zzedu.utils;

import com.study.zzedu.bean.LeafNode;

import org.json.JSONArray;

import java.util.HashMap;
import java.util.Map;

public class AppConstant {
    public static String name = "";//姓名
    public static String phone = "";//手机号
    public static String code = "1234";//验证码

    public static String AUTO_LOGIN = "auto_login";//自动登录
    public static String NOT_AUTO_LOGIN = "not_auto_login";//非自动登录

    public static String contentID = "";//帖子ID,用于查看帖子详情信息
    public static String coursewareCode ="";//课件号
    public static String chapterName ="马克思主义第一章";//章节名
    public static String chapterCode ="62080101";//章节号
    public static String courseCode = "620801";//课程号
    public static String lessonName = "";//课程名

    public static String videoLineFlag = "1";//视频播放线路标志 1---线路1（默认线路）   2---线路2 。。。。
    public static String littleURL = "";//视频播放地址的后半截地址
    public static JSONArray domainList = null;
    public static String testUUID = "";//测试UUID
    public static JSONArray courseDetail = null;//具体课程目录结构

    public static String contentCode = "";//资源编号（课件号）
    public static String courseName = "马克思主义哲学";//课程名
    //public static String userCode = "";//学号(赵燕)
    public static String userCode = "14100012001";//学号(赵燕)

    public static String COURSENOTICE = "CourseNotice";//课程通告
    public static String NOTICE = "Notice";//通知公告

    public static String codeKey = "";//根据学号获取手机号返回的UUID
    public static String codeUUID = "";//发送手机验证码 返回的UUID
    public static String idCodeUUID = "";//验证身份成功 返回的UUID

    public static String ACTION_EVENT_UPDATA_DATA = "com.zzedu.updatadata";

    public static String   ACTION_EVENT_VIDEO_TREE_REFRESH = "action_event_video_tree_fresh";

    public static String ACTION_EVENT_JUMP_TO = "com.zzedu.jumptopage";
    public static String ACTION_EVENT_NEXT = "com.zzedu.jumptonextt";

    public static String ACTION_EVENT_401 = "com.zzedu.action.event.401";//发生401的广播

    public static String ACTION_EVENT_HEAD_DATAUPDATA = "com.zzedu.head.data.updata";//top数据更新广播

    public static String ACTION_EVENT_CHECK_ANSWER = "com.zzedu.checkanswer";//提交答案广播

    public static String ACTION_EVENT_EXERCISE_AGAIN = "com.zzedu.exerciseagain";//再次测试

    public static  int result_code_back_to_home = 25693;

    public static  int RequestCode_CourseNoticeFragment = 12031;
    public static  int RequestCode_HomeToStudyActivity = 12032;
    public static  int RequestCode_OnLineToErrorSet = 12033;
}
